package com.sam.spring.chapter2.helloworld;

import com.sam.spring.chapter1.helloworld.HelloAPI;

public class HelloImpl3 implements HelloAPI {

	private String message;
	private int index;

//	@java.beans.ConstructorProperties({ "message", "index" })
	public HelloImpl3(String message, int index) {
		this.message = message;
		this.index = index;
	}

	public void sayHello() {
		System.out.println(index + " : " + message);
	}

}
